{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <LINK rel="stylesheet" href="{% static 'plugins/bootstrap.min.css' %}">
    {% block css %}{% endblock %}
</head>
<body>

<nav class="navbar navbar-expand-lg navbar-light bg-light">
  <a class="navbar-brand" href="#">员工管理系统</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>

   <div class="collapse navbar-collapse" id="navbarSupportedContent">
    <ul class="navbar-nav mr-auto">
        <li class="nav-item ">
        <a class="nav-link" href="/admin/list/">管理员账号 <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item ">
        <a class="nav-link" href="/depart/list/">部门管理 <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="/user/list/">用户管理 <span class="sr-only">(current)</span></a>
      </li>
         <li class="nav-item ">
        <a class="nav-link" href="/pretty/list/">靓号管理 <span class="sr-only">(current)</span></a>
      </li>
    </ul>
    <ul class="navbar-nav ml-auto"> <!-- 使用 ml-auto 将导航项推到右侧 -->
      <li class="nav-item">
        <a class="nav-link" href="/login/">登陆</a>
      </li>
      <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-expanded="false">
            {{ request.session.info.username }}
        </a>
        <div class="dropdown-menu dropdown-menu-lg-right">
          <a class="dropdown-item" href="#">查看个人资料</a>
            <a class="dropdown-item" href="#">修改密码</a>
            <div class="dropdown-divider"></div>
            <a class="dropdown-item" href="/logout/">注销</a>
        </div>

    </ul>


  </div>
</nav>
<div>
    {% block content %}{% endblock %}
</div>

<script src="{% static 'js/jquery-3.7.1.min.js' %}"></script>
<script src="{% static 'plugins/bootstrap.min.js' %}"></script>
{% block js %}{% endblock %}
</body>
</html>
